package com.pds.web.testOrganizationInfo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pds.web.testOrganizationInfo.domain.PdsTestOrganizationPlace;

import java.util.List;

public interface IPdsTestOrganizationPlaceService extends IService<PdsTestOrganizationPlace> {

    /**
     * 新增
     *
     * @param pdsTestOrganizationPlace
     * @return
     */
    PdsTestOrganizationPlace addPlace(PdsTestOrganizationPlace pdsTestOrganizationPlace);

    /**
     * 删除 --  根据id
     *
     * @param id
     */
    Boolean deletePlace(Long id);

    /**
     * 更新
     *
     * @param pdsTestOrganizationPlace
     */
    Boolean updatePlace(PdsTestOrganizationPlace pdsTestOrganizationPlace);

    /**
     * 查询 -- 分页/条件：userId，status
     *
     * @param pdsTestOrganizationPlace
     * @return
     */
    List<PdsTestOrganizationPlace> selectPlaceList(PdsTestOrganizationPlace pdsTestOrganizationPlace);
}
